package test;

import com.qiniu.util.Auth;
import org.junit.jupiter.api.Test;

public class QiNiuTest2 {

    String accessKey = "gyBO2bpXAa03yX9o84zP7ymdJSbjRPnc6PFi6lXv";
    String secretKey = "kFTDw3q-7wLwq7CYyJmBo2YwFkLTKTunKF8oOTOM";
    String bucket = "health-setmeal-2img";
    Auth auth = Auth.create(accessKey, secretKey);
    String upToken = auth.uploadToken(bucket);

    @Test
    public void test1(){

        System.out.println(upToken);
    }
    @Test
    public void test2(){

    }
}
